<template>
    <div class="demo">
        <h2>学校名称:{{ name }}</h2>
    </div>
</template>

<script>
import Vue from 'vue';
export default Vue.extend({
    name: 'School',
    data() {
        return {
            name: "尚硅谷"
        }
    }
}) 
</script>

<style>
.demo{
    background-color: orange;
}
</style>